home *** CD-ROM | disk | FTP | other *** search
- typedef struct s1 {
- int **hdl;
- short left;
- } S1;
-
- typedef struct list1 {
- unsigned short slot1;
- #ifndef __GNUC__
- short right;
- short unused;
- S1 s1s[];
- #endif
- } List1;
-
- typedef struct list2 {
- unsigned short slot1;
- short right;
- short unused;
- S1 s1s[0];
- } List2;
-
- typedef struct list3 {
- unsigned short slot1;
- short right;
- short unused;
- S1 s1s[1];
- } List3;
-
- main()
- {
- subr(sizeof(List1));
- subr(sizeof(List2));
- subr(sizeof(List3));
- }
-
-